    <footer id="footer" class="clearfix">
        <div class="w-content top-footer clearfix">
            <?php $m_index = 1; ?>
            <?php foreach($manufacturers as $l_manufacturer){ ?>
                <div class="col col-<?php echo $m_index; ?>">
                    <h6>Brands</h6>
                    <ul class="list-brand">
                        <?php foreach($l_manufacturer as $key => $value){ ?>
                            <li><a href="<?php echo $value['href']; ?>"><?php echo $value['name']; ?></a></li>
                        <?php } ?>
                    </ul>
                </div>

                <?php $m_index++; ?>
            <?php } ?>

            <div class="col col-4">
                <?php foreach($content_categories as $content_category){ ?>
                    <h6><?php echo $content_category['name']; ?></h6>
                    <ul class="list-brand">
                        <?php foreach($content_category['children'] as $child){ ?>
                        <li><a href="<?php echo $child['href']; ?>" <?php echo $child['link_location'] == 'new_tab' ? 'target="_blank"' : ''; ?>><?php echo $child['name']; ?></a></li>
                        <?php } ?>
                    </ul>
                <?php } ?>

                <h6>VI MODTAGER</h6>
                <div class="img-cart"> <img src="catalog/view/theme/<?php echo $template; ?>/images/cart.png"></div>
            </div>
            <!--col-4-->
        </div>
        <!--top-footer -->
        <div class="w-content bottom-footer clearfix">
            <p><?php echo $text_powered_by;?> </p>
        </div>
        <!--bottom-footer -->
    </footer>

</div>
<!--#page-->

<?php
$cookieinfo = "";
if(isset($_COOKIE["cookieinfo"])){
    $cookieinfo = $_COOKIE["cookieinfo"];
}
if(empty($cookieinfo)){
?>
    <div class="cookie" id="cookieinfo">
        <div class="w-content">
            <div class="text-cookie">
                <p>Hjemmesiden bruger cookies<br>
                    Cookies er nødvendige for at få hjemmesiden til at fungere, men de giver også info om hvordan du bruger vores hjemmeside, så vi kan forbedre den både for dig og for andre. Cookies på denne hjemmeside bruges primært til trafikmåling og optimering af sidens indhold.<br>
                    Hvis du klikker videre på siden, accepterer du vores brug af cookies.
                </p>
                <a href="#">Vil du vide mere om vores cookies klik her.</a>
            </div>
            <a class="close-cookie" onclick="closecookie();"><img src="catalog/view/theme/<?php echo $template; ?>/images/btnClose.png" alt="Close"> </a>
        </div>
    </div>
    <!--cookieinfo-->
<?php } ?>

<!--Search and loading-->
<div id="search_overlay">
    <div class="search_inner">
        <img src="catalog/view/theme/<?php echo $template; ?>/images/ajax_load_red.gif" />
    </div>
</div>

<!--Popup-->
<div id="bg-overlay" class="bg-overlay" style="display:none"></div>
<div class="bg_alert" id="show_popup" style="display:none; position: fixed; top: 35%; left: 50%; z-index:10001; margin-left:-140px;"> <span id="f_focus" style="display:none;"></span>
    <div id="alert"></div>
    <div style="padding-left: 40px;"><a href="javascript:void(0);" onclick="close_popup();"><img src="catalog/view/theme/<?php echo $template; ?>/images/bt_luk1.png" alt="" /></a></div>
</div>

<div id="fb-root"></div>
<script type="text/javascript">
    (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=155722827921405&version=v2.0";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

<script type="text/javascript">
    function closecookie(){
        if(!jQuery.cookie("cookieinfo")){
            jQuery.cookie("cookieinfo","1",{ expires : 10000 });
        }
        jQuery("#cookieinfo").hide();
    }

    function show_popup(msg){
        jQuery('#alert').html(msg);
        jQuery('#bg-overlay').show();
        jQuery('#show_popup').show();

    }

    function close_popup(){
        var fel=jQuery('#f_focus').html();
        jQuery('#bg-overlay').hide();
        jQuery('#show_popup').hide();
        jQuery('#' + fel ).focus();
    }
</script>

<script type="text/javascript"> (function() { var gms = document.createElement('script'); gms.type = 'text/javascript'; if(typeof(gms.async) != "undefined"){gms.async = true;} var p = (window.location.protocol == 'https'); gms.src = (p ? 'https://www.' : 'http://cdn.') + 'addwish.com/scripts/company/awAddGift.js#D36A5E0C6FD706AF094D9CE7FB1B91AE'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gms, s); })(); </script>
<script type="text/javascript" src="<?php echo $base_link ?>js/jquery.reveal.js"></script>
<!-- script type="text/javascript" src="<?php echo $base_link ?>js/footer.js"></script-->
</body>
</html>
